package fr.bda.cloud.swing;

import java.awt.event.WindowAdapter;
import java.awt.event.WindowEvent;

import javax.swing.JFrame;
import javax.swing.JLabel;

public class CloudSwing extends JFrame {

	private static final long serialVersionUID = 1L;

	public CloudSwing() {

		super("CloudData SWING");

		JLabel coucou = new JLabel("COUCOU");
		add(coucou);

		pack();

		setVisible(true);

		this.addWindowListener(new WindowAdapter() {
			public void windowClosing(WindowEvent evt) {
				System.exit(0);
			}
		});

	}

	public static void main(String[] args) {
		new CloudSwing();
	}
}
